package com.afterStartup;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author: cxt
 * @time: 2022/8/23
 * 启动之后第4位执行
 */
@Component
public class MyApplicationRunner implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("启动之后执行：实现了ApplicationRunner接口");
    }
}
